import pymysql as db

conn = db.connect (host = "localhost",
            user = "student",
            passwd = "anything",
            db = "emanuelacademy")
cursor = conn.cursor()

def getModule():
    cursor.execute("SELECT pythonModule FROM questiontable WHERE englishName = '%topic'" %topicName)
    row = cursor.fetchone()
    problemTopic = row[0]
    return problemTopic
